<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title>Soi cầu lô tô xổ số toàn quốc</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">    
        <meta name="viewport" content="width=device-width,initial-scale=1"/>
        <script src="js/jquery-1.9.1.js"></script>
        <script type="text/javascript" charset="utf-8" src="js/cordova-2.5.0.js"></script>  
        <link rel="stylesheet" href="css/style.css">  
        <link rel="stylesheet" href="css/tygia.css">        
        <script src="js/jquery.mobile-1.3.0.min.js"></script> 
        <link rel="stylesheet" href="css/jquery.mobile-1.3.0.min.css" />
        <link rel="stylesheet" href="css/jqm-icon-pack-3.0.0-fa.css" />         
        <script src="js/jquery-ui.js"></script>    
        <link href="css/mobiscroll.custom-2.5.0.min.css" rel="stylesheet" type="text/css" />
        <script src="js/mobiscroll.custom-2.5.0.min.js" type="text/javascript"></script>
        <script src="js/Constants.js" type="text/javascript"></script>                       
        <script type="text/javascript">
            window.scroll(0, 0);
            $(function() {
                document.addEventListener("deviceready", onDeviceReady, false);                
            });
            function onDeviceReady() {
                checkConnection();
            }

			function checkConnection() {
				var networkState = navigator.network.connection.type;
				var states = {};
				states[Connection.UNKNOWN]  = 'Unknown connection';
				states[Connection.ETHERNET] = 'Ethernet connection';
				states[Connection.WIFI]     = 'WiFi connection';
				states[Connection.CELL_2G]  = 'Cell 2G connection';
				states[Connection.CELL_3G]  = 'Cell 3G connection';
				states[Connection.CELL_4G]  = 'Cell 4G connection';
				states[Connection.NONE]     = 'No network connection';
					console.log("ban dang dung : " + states[networkState]);
				if (networkState==Connection.NONE || networkState==Connection.UNKNOWN){
				  showAlert();
				  //alert("You can't login because not yet open internet connection !");
				}
			}
			// alert dialog dismissed
			function alertDismissed() {
				// do something
			}
			function showAlert() {
				navigator.notification.alert(
					'You can not login because not yet open internet connection !', // message
                                        alertDismissed, // callback
                                        'Warning', // title
                                        'Done'                  // buttonName
                                        );
                            }
        </script>           
    </head>
    <body>
        <div  data-role="page"  data-theme="c" >
            <div data-role="header" data-position="fixed" data-theme="c">                
                <a data-inline="true" data-transition="slide" data-icon="fahome">Menu</a>
                <h1>GIẢI BÓNG ĐÁ QUỐC TẾ</h1>
            </div>
            <div data-role="content" data-theme="c">
                <ul data-role="listview" data-inset="true" data-theme="c">
                    <li>
                        <div>
                            <table cellpadding="5" align="center">
                                <tbody><tr>
                                        <td align="center"><a href="vdqg.html" class="ico_result">&nbsp;</a><a href="vdqg.html">VĐQG</a></td>
                                        <td align="center"><a href="vdqg.html" class="ico_tuong_thuat">&nbsp;</a><a href="vdqg.html">Euro</a></td>
                                        <td align="center"><a href="vdqg.html" class="ico_sc_db">&nbsp;</a><a href="vdqg.html">Cup C1</a></td>				
                                    </tr>
                                    <tr>
                                        <td align="center"><a href="vdqg.html" class="ico_sc_loto">&nbsp;</a><a href="vdqg.html">World Cup</a></td>
                                        <td align="center"><a href="vdqg.html" class="ico_dudoan">&nbsp;</a><a href="vdqg.html">Tường Thuật</a></td>
                                        <td align="center"><a href="vdqg.html" class="ico_csmm">&nbsp;</a><a href="vdqg.html">Kết Quả</a></td>
                                    </tr>
                                    <tr>
                                        <td align="center"><a href="vdqg.html" class="ico_gmgm">&nbsp;</a><a href="vdqg.html">Giao Hữu</a></td>								
                                        <td align="center"><a href="vdqg.html" class="ico_help">&nbsp;</a><a href="vdqg.html">Tr.Đấu H.Nay</a></td>
                                        <td align="center"><a data-rel="popup" href="#popupDialog" class="ico_help">&nbsp;</a><a href="#">Help</a></td>
                                    </tr>
                                    <tr>
                                        <td align="center"><a href="vdqg.html" class="ico_setting">&nbsp;</a><a href="vdqg.html">Giải trí</a></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </li>
                </ul>
                <div data-role="popup" id="popupDialog" data-overlay-theme="c" data-theme="c" style="max-width:400px;" class="ui-corner-all">
                    <div data-role="header" data-theme="a" class="ui-corner-top">
                        <h1>Thông tin</h1>
                    </div>
                    <div data-role="content" data-theme="d" style="text-align: center;" class="ui-corner-bottom ui-content">

                        <p style="padding-bottom: 20px;font-size: 15px; font-weight: bold;">Thông tin được lấy từ trang http://xoso.tructiep.vn, mọi sai sót chúng tôi không chịu trách nhiệm.</p>
                        <a href="#" data-role="button" data-inline="true" data-mini="true"  data-rel="back" data-transition="flow" data-theme="c">OK</a>  
                    </div>
                </div>
            </div>
            <div data-role="footer" data-theme="c"  class="ui-bar" style="text-align:center;"  data-position="fixed">
                
            </div>
            <script type="text/javascript">
                $(document).ready(function() {
                 //   Xoso.auto();
                   // getData("tinh");
                    //getData("giacmo");
                    var date = new Date();
                    var dd = date.getDate();
                    var mm = date.getMonth() + 1;
                    var yy = date.getFullYear();
                    var am = new AmLich(dd, mm, yy, 7.0);
                    var sInfo = " Hôm Nay Ngày : " + am.getDate() + "  (" + am.showAmLich() + " )";
                    $(".amlich").html(sInfo);
                    for (var i = 0; i < 7; i++) {
                        getToDay("today", i);
                    }
                });
            </script>
        </div>


        <script type="text/javascript">

            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-39000335-2']);
            _gaq.push(['_trackPageview']);

            (function() {
                var ga = document.createElement('script');
                ga.type = 'text/javascript';
                ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0];
                s.parentNode.insertBefore(ga, s);
            })();

        </script>
    </body>
</html>
